package
{
	import com.NHL.single.AmfCallPHP;
	import com.NHL.single.Start;
	
	import flash.display.Sprite;
	
	public class NHL extends Sprite
	{
		public function NHL()
		{
			Start.getInstance().init(stage);
			AmfCallPHP.getInstance().call("ExampleService.returnOneParams",null,onResult,onFault,1);
		}
		
		private function onResult(token:Object,res:Object):void
		{
			trace(res);
		}
		
		private function onFault(token:Object,res:Object):void
		{
			
		}
	}
}